package com.hl.service;

import com.hl.mapper.CepingMapper;
import com.hl.pojo.Ceping;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CepingServiceImpl implements CepingService{

    @Autowired
    private CepingMapper cepingMapper;
    @Override
    public Integer add(Ceping ceping) {
        return cepingMapper.add(ceping);
    }

    @Override
    public Integer del(Ceping ceping) {
        return cepingMapper.del(ceping);
    }

    @Override
    public List<Ceping> findAll() {
        return cepingMapper.findAll();
    }
}
